//v.2.5 build 91111

/*
Copyright DHTMLX LTD. http://www.dhtmlx.com
To use this component please contact sales@dhtmlx.com to obtain license
*/

function eXcell_3but(cell){
	this.cell = cell;
    this.grid = this.cell.parentNode.grid;
	this.edit = function(){}
	this.isDisabled = function(){ return true; }
	this.detach = function(){}
	this.setValue=function(val){
		this.cell.val=val;
		this.cell.innerHTML="<input type='button' value='1'/><input type='button' value='2'/><input type='button' value='3'/>";
		this.cell.childNodes[0].onclick=function(){ a3but_f1(this.parentNode.parentNode.idd,this.parentNode._cellIndex); };
		this.cell.childNodes[1].onclick=function(){ a3but_f2(this.parentNode.parentNode.idd,this.parentNode._cellIndex); };
		this.cell.childNodes[2].onclick=function(){ a3but_f3(this.parentNode.parentNode.idd,this.parentNode._cellIndex); };
	}
	this.getValue=function(){
		return (this.cell.val||"");
	}
}
eXcell_3but.prototype = new eXcell;
//(c)dhtmlx ltd. www.dhtmlx.com


